package pl.edu.pb.wi.pwnography.model.form;

import java.util.List;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.Range;

public class DecisionTreeForm extends MasterForm {
    @Range(min = 2, max = 5, message = "Wartość musi być większa od 1 oraz mniejsza od 6.")
    private int discretizationLevel;
    private List<String> excludedColumns;
    @NotNull(message = "Wartość nie może być pusta.")
    private Boolean saveToFile;

    public int getDiscretizationLevel() {
	return discretizationLevel;
    }

    public void setDiscretizationLevel(int discretizationLevel) {
	this.discretizationLevel = discretizationLevel;
    }

    public List<String> getExcludedColumns() {
	return excludedColumns;
    }

    public void setExcludedColumns(List<String> excludedColumns) {
	this.excludedColumns = excludedColumns;
    }

    public Boolean getSaveToFile() {
	return saveToFile;
    }

    public void setSaveToFile(Boolean saveToFile) {
	this.saveToFile = saveToFile;
    }

}
